<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="generator" content="AsciiDoc 8.6.8" />
<link rel="Shortcut Icon" href="/images/favicon.ico" type="image/x-icon" />
<title></title>
<link rel="stylesheet" href="asciidoc-2.css" tppabs="http://old.peachfuzzer.com/v2/asciidoc.css" type="text/css" />
<link rel="stylesheet" href="website-2.css" tppabs="http://old.peachfuzzer.com/v2/website.css" type="text/css" />
</head>

<body>

<div id="layout-menu-box">
<div id="layout-menu">
  <div><a href="WhatIsPeach.html" tppabs="http://old.peachfuzzer.com/WhatIsPeach.html">What is Peach</a></div>
  <div><a href="Installation.html" tppabs="http://old.peachfuzzer.com/v3/Installation.html"><b>Installing</b></a></div>
  <div><a href="PeachQuickStart.html" tppabs="http://old.peachfuzzer.com/v3/PeachQuickStart.html"><b>Tutorials</b></a></div>
  <div><a href="Methodology.html" tppabs="http://old.peachfuzzer.com/Methodology.html">Methodology</a></div>
  <div><a href="Introduction.html" tppabs="http://old.peachfuzzer.com/Introduction.html">Introduction</a></div>
  <div><a href="Training.html" tppabs="http://old.peachfuzzer.com/Training.html">Training</a></div>
  <div><a href="javascript:if(confirm(%27http://www.dejavusecurity.com/peach.html  \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?%27))window.location=%27http://www.dejavusecurity.com/peach.html%27" tppabs="http://www.dejavusecurity.com/peach.html">Enterprise</a></div>
  <div><a href="FAQ.html" tppabs="http://old.peachfuzzer.com/v3/FAQ.html">FAQ</a></div>
  <div><a href="javascript:if(confirm(%27http://forums.peachfuzzer.com/forum.php  \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?%27))window.location=%27http://forums.peachfuzzer.com/forum.php%27" tppabs="http://forums.peachfuzzer.com/forum.php">Support Forums</a></div>

  <div><h5>Peach 3</h5></div>
  <div><img src="1.gif" tppabs="http://old.peachfuzzer.com/images/1.gif" /><a href="PeachPit.html" tppabs="http://old.peachfuzzer.com/v3/PeachPit.html">Peach Pits</a></div>
  <div>&nbsp;<img src="1.gif" tppabs="http://old.peachfuzzer.com/images/1.gif" /><a href="GeneralConfiguration.html" tppabs="http://old.peachfuzzer.com/v3/GeneralConfiguration.html">General Conf</a></div>
  <div>&nbsp;<img src="1.gif" tppabs="http://old.peachfuzzer.com/images/1.gif" /><a href="DataModeling.html" tppabs="http://old.peachfuzzer.com/v3/DataModeling.html">Data Modeling</a></div>
  <div>&nbsp;<img src="1.gif" tppabs="http://old.peachfuzzer.com/images/1.gif" /><a href="StateModel.html" tppabs="http://old.peachfuzzer.com/v3/StateModel.html">State Modeling</a></div>
  <div>&nbsp;<img src="1.gif" tppabs="http://old.peachfuzzer.com/images/1.gif" /><a href="AgentsMonitors.html" tppabs="http://old.peachfuzzer.com/v3/AgentsMonitors.html">Agents</a></div>
  <div>&nbsp;&nbsp;<img src="1.gif" tppabs="http://old.peachfuzzer.com/images/1.gif" /><img src="1.gif" tppabs="http://old.peachfuzzer.com/images/1.gif" /><a href="AgentsMonitors.html" tppabs="http://old.peachfuzzer.com/v3/AgentsMonitors.html">Monitors</a></div>
  <div>&nbsp;<img src="1.gif" tppabs="http://old.peachfuzzer.com/images/1.gif" /><a href="TestConfig.html" tppabs="http://old.peachfuzzer.com/v3/TestConfig.html">Test</a></div>
        <div>&nbsp;&nbsp;<img src="1.gif" tppabs="http://old.peachfuzzer.com/images/1.gif" /><img src="1.gif" tppabs="http://old.peachfuzzer.com/images/1.gif" /><a href="Publisher.html" tppabs="http://old.peachfuzzer.com/v3/Publisher.html">Publishers</a></div>
  <div>&nbsp;&nbsp;<img src="1.gif" tppabs="http://old.peachfuzzer.com/images/1.gif" /><img src="1.gif" tppabs="http://old.peachfuzzer.com/images/1.gif" /><a href="Logger.html" tppabs="http://old.peachfuzzer.com/v3/Logger.html">Loggers</a></div>
  <!-- <div>&nbsp;<img src="/images/1.gif" /><a href="/v3/DebuggingPitFiles.html">Debugging Pits</a></div> -->
  <!-- <div>&nbsp;<img src="/images/1.gif" /><a href="/v3/ValidatingPitFiles.html">Validating Pits</a></div> -->
  <div><img src="1.gif" tppabs="http://old.peachfuzzer.com/images/1.gif" /><a href="RunningPeach.html" tppabs="http://old.peachfuzzer.com/v3/RunningPeach.html">Running</a></div>
  <!-- <div><img src="/images/1.gif" /><a href="/v3/ParallelPeach.html">Parallel</a></div> -->
  <!-- <div><img src="/images/1.gif" /><a href="/v3/ExtendingPeach.html">Extending</a></div> -->
  <div><img src="1.gif" tppabs="http://old.peachfuzzer.com/images/1.gif" /><a href="minset.html" tppabs="http://old.peachfuzzer.com/v3/minset.html">Minset</a></div>

  <div><h5><a href="peach23.html" tppabs="http://old.peachfuzzer.com/v2/peach23.html">Peach 2.3</a></h5></div>

  <div><hr/></div>

  <div><a href="License.html" tppabs="http://old.peachfuzzer.com/License.html">License</a></div>
</div>
</div>
<div id="layout-content-box">
<div id="layout-banner">
  <div id="layout-title">
    <a href="index.htm" tppabs="http://old.peachfuzzer.com/"><img src="peach_fuzzer.png" tppabs="http://old.peachfuzzer.com/images/peach_fuzzer.png" height="100" /></a>
    <a href="javascript:if(confirm(%27http://www.dejavusecurity.com/peach.html  \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?%27))window.location=%27http://www.dejavusecurity.com/peach.html%27" tppabs="http://www.dejavusecurity.com/peach.html" class="layout-inner-banner-right">
                <img height="50" src="dejavusecurity.png" tppabs="http://old.peachfuzzer.com/images/dejavusecurity.png" /></a>
  </div>

  <div id="layout-description">
  <script>
  (function() {
    var cx = '007028538774543840348:g-0dlrdlmxs';
    var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true;
    gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
        '//www.google.com/cse/cse.js?cx=' + cx;
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s);
  })();
</script>
<gcse:search></gcse:search>
      </div>
</div>
<div id="layout-content">
<div id="content">
<div class="sect1">
<h2 id="_action">Action</h2>
<div class="sectionbody">
<div class="paragraph"><p>Action elements perform various actions in the state model such as sending output, receiving input, or changing to another state in the state model.  Actions are child elements of <a href="State-1.html" tppabs="http://old.peachfuzzer.com/v2/State.html">State</a>.</p></div>
<div class="listingblock">
<div class="content"><!-- Generator: GNU source-highlight 3.1.7
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
<pre><tt><span style="font-weight: bold"><span style="color: #0000FF">&lt;Action</span></span> <span style="color: #009900">name</span><span style="color: #990000">=</span><span style="color: #FF0000">"SendData"</span> <span style="color: #009900">type</span><span style="color: #990000">=</span><span style="color: #FF0000">"output"</span><span style="font-weight: bold"><span style="color: #0000FF">&gt;</span></span>
  <span style="font-weight: bold"><span style="color: #0000FF">&lt;DataModel</span></span> <span style="color: #009900">ref</span><span style="color: #990000">=</span><span style="color: #FF0000">"MyDataModel"</span> <span style="font-weight: bold"><span style="color: #0000FF">/&gt;</span></span>

  <span style="font-style: italic"><span style="color: #9A1900">&lt;!-- Optional data element --&gt;</span></span>
  <span style="font-weight: bold"><span style="color: #0000FF">&lt;Data</span></span> <span style="color: #009900">name</span><span style="color: #990000">=</span><span style="color: #FF0000">"load defaults"</span> <span style="color: #009900">fileName</span><span style="color: #990000">=</span><span style="color: #FF0000">"template.bin"</span> <span style="font-weight: bold"><span style="color: #0000FF">/&gt;</span></span>
<span style="font-weight: bold"><span style="color: #0000FF">&lt;/Action&gt;</span></span>
</tt></pre></div></div>
<div class="paragraph"><p><em>Attributes:</em></p></div>
<div class="ulist"><ul>
<li>
<p>
<a href="name-1.html" tppabs="http://old.peachfuzzer.com/v2/name.html">name</a>&#8201;&#8212;&#8201;Name of the action [optional]
</p>
</li>
<li>
<p>
<a href="javascript:if(confirm(%27http://old.peachfuzzer.com/v2/type.html  \n\nThis file was not retrieved by Teleport Ultra, because the server reports that access to this file is forbidden.  \n\nDo you want to open it from the server?%27))window.location=%27http://old.peachfuzzer.com/v2/type.html%27" tppabs="http://old.peachfuzzer.com/v2/type.html">type</a>&#8201;&#8212;&#8201;Action type [required]
</p>
</li>
<li>
<p>
<a href="javascript:if(confirm(%27http://old.peachfuzzer.com/v2/when.html  \n\nThis file was not retrieved by Teleport Ultra, because the server reports that access to this file is forbidden.  \n\nDo you want to open it from the server?%27))window.location=%27http://old.peachfuzzer.com/v2/when.html%27" tppabs="http://old.peachfuzzer.com/v2/when.html">when</a>&#8201;&#8212;&#8201;Only preform action if expression provided is true.
</p>
</li>
<li>
<p>
<a href="javascript:if(confirm(%27http://old.peachfuzzer.com/v2/onComplete.html  \n\nThis file was not retrieved by Teleport Ultra, because the server reports that access to this file is forbidden.  \n\nDo you want to open it from the server?%27))window.location=%27http://old.peachfuzzer.com/v2/onComplete.html%27" tppabs="http://old.peachfuzzer.com/v2/onComplete.html">onComplete</a>&#8201;&#8212;&#8201;Expression to run on completion of action
</p>
</li>
<li>
<p>
<a href="javascript:if(confirm(%27http://old.peachfuzzer.com/v2/onStart.html  \n\nThis file was not retrieved by Teleport Ultra, because the server reports that access to this file is forbidden.  \n\nDo you want to open it from the server?%27))window.location=%27http://old.peachfuzzer.com/v2/onStart.html%27" tppabs="http://old.peachfuzzer.com/v2/onStart.html">onStart</a>&#8201;&#8212;&#8201;Expression to run on start of action
</p>
</li>
<li>
<p>
<a href="javascript:if(confirm(%27http://old.peachfuzzer.com/v2/method.html  \n\nThis file was not retrieved by Teleport Ultra, because the server reports that access to this file is forbidden.  \n\nDo you want to open it from the server?%27))window.location=%27http://old.peachfuzzer.com/v2/method.html%27" tppabs="http://old.peachfuzzer.com/v2/method.html">method</a>&#8201;&#8212;&#8201;Method to call [required, type=call]
</p>
</li>
<li>
<p>
<a href="javascript:if(confirm(%27http://old.peachfuzzer.com/v2/property.html  \n\nThis file was not retrieved by Teleport Ultra, because the server reports that access to this file is forbidden.  \n\nDo you want to open it from the server?%27))window.location=%27http://old.peachfuzzer.com/v2/property.html%27" tppabs="http://old.peachfuzzer.com/v2/property.html">property</a>&#8201;&#8212;&#8201;Property to get or set [required, type=setprop, getprop]
</p>
</li>
<li>
<p>
<a href="javascript:if(confirm(%27http://old.peachfuzzer.com/v2/setXpath.html  \n\nThis file was not retrieved by Teleport Ultra, because the server reports that access to this file is forbidden.  \n\nDo you want to open it from the server?%27))window.location=%27http://old.peachfuzzer.com/v2/setXpath.html%27" tppabs="http://old.peachfuzzer.com/v2/setXpath.html">setXpath</a>&#8201;&#8212;&#8201;XPath for value to set [required, type=slurp]
</p>
</li>
<li>
<p>
<a href="javascript:if(confirm(%27http://old.peachfuzzer.com/v2/value.html  \n\nThis file was not retrieved by Teleport Ultra, because the server reports that access to this file is forbidden.  \n\nDo you want to open it from the server?%27))window.location=%27http://old.peachfuzzer.com/v2/value.html%27" tppabs="http://old.peachfuzzer.com/v2/value.html">value</a>&#8201;&#8212;&#8201;Value [type=slurp]
</p>
</li>
<li>
<p>
<a href="javascript:if(confirm(%27http://old.peachfuzzer.com/v2/valueXpath.html  \n\nThis file was not retrieved by Teleport Ultra, because the server reports that access to this file is forbidden.  \n\nDo you want to open it from the server?%27))window.location=%27http://old.peachfuzzer.com/v2/valueXpath.html%27" tppabs="http://old.peachfuzzer.com/v2/valueXpath.html">valueXpath</a>&#8201;&#8212;&#8201;XPath for value [type=slurp]
</p>
</li>
<li>
<p>
<a href="ref-1.html" tppabs="http://old.peachfuzzer.com/v2/ref.html">ref</a>&#8201;&#8212;&#8201;Reference of state to change to [type=changeState]
</p>
</li>
</ul></div>
<div class="paragraph"><p><em>Valid Child-Elements:</em></p></div>
<div class="ulist"><ul>
<li>
<p>
<a href="DataModel-1.html" tppabs="http://old.peachfuzzer.com/v2/DataModel.html">DataModel</a>
</p>
</li>
<li>
<p>
<a href="Data-1.html" tppabs="http://old.peachfuzzer.com/v2/Data.html">Data</a>
</p>
</li>
<li>
<p>
<a href="Param-1.html" tppabs="http://old.peachfuzzer.com/v2/Param.html">Param</a>
</p>
</li>
</ul></div>
</div>
</div>
<div class="sect1">
<h2 id="_action_types">Action Types</h2>
<div class="sectionbody">
<div class="sect2">
<h3 id="_start_implicit">start (implicit)</h3>
<div class="paragraph"><p>Start up the publisher, this is an implicit action and is not normally needed.</p></div>
<div class="listingblock">
<div class="content"><!-- Generator: GNU source-highlight 3.1.7
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
<pre><tt><span style="font-weight: bold"><span style="color: #0000FF">&lt;Action</span></span> <span style="color: #009900">type</span><span style="color: #990000">=</span><span style="color: #FF0000">"start"</span> <span style="font-weight: bold"><span style="color: #0000FF">/&gt;</span></span></tt></pre></div></div>
</div>
<div class="sect2">
<h3 id="_stop_implicit">stop (implicit)</h3>
<div class="paragraph"><p>Stop the publisher, this is an implicit action and is not normally needed.</p></div>
<div class="listingblock">
<div class="content"><!-- Generator: GNU source-highlight 3.1.7
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
<pre><tt><span style="font-weight: bold"><span style="color: #0000FF">&lt;Action</span></span> <span style="color: #009900">type</span><span style="color: #990000">=</span><span style="color: #FF0000">"stop"</span> <span style="font-weight: bold"><span style="color: #0000FF">/&gt;</span></span></tt></pre></div></div>
</div>
<div class="sect2">
<h3 id="_open_connect_implicit">open/connect (implicit)</h3>
<div class="paragraph"><p>Open and connect are aliases for each other and perform the same action.  Typically this action is implicit, for files the file must be opened or created, for sockets a connection is made.  Only when special control is required does one need to use this action.</p></div>
<div class="listingblock">
<div class="content"><!-- Generator: GNU source-highlight 3.1.7
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
<pre><tt><span style="font-weight: bold"><span style="color: #0000FF">&lt;Action</span></span> <span style="color: #009900">type</span><span style="color: #990000">=</span><span style="color: #FF0000">"open"</span> <span style="font-weight: bold"><span style="color: #0000FF">/&gt;</span></span></tt></pre></div></div>
<div class="listingblock">
<div class="content"><!-- Generator: GNU source-highlight 3.1.7
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
<pre><tt><span style="font-weight: bold"><span style="color: #0000FF">&lt;Action</span></span> <span style="color: #009900">type</span><span style="color: #990000">=</span><span style="color: #FF0000">"connect"</span> <span style="font-weight: bold"><span style="color: #0000FF">/&gt;</span></span></tt></pre></div></div>
</div>
<div class="sect2">
<h3 id="_close_implicit">close (implicit)</h3>
<div class="paragraph"><p>Close is also implicit and is not normally required unless specific control is wanted.</p></div>
<div class="listingblock">
<div class="content"><!-- Generator: GNU source-highlight 3.1.7
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
<pre><tt><span style="font-weight: bold"><span style="color: #0000FF">&lt;Action</span></span> <span style="color: #009900">type</span><span style="color: #990000">=</span><span style="color: #FF0000">"close"</span> <span style="font-weight: bold"><span style="color: #0000FF">/&gt;</span></span></tt></pre></div></div>
</div>
<div class="sect2">
<h3 id="_accept">accept</h3>
<div class="paragraph"><p>Accept an incoming connection.  Not all publishers support this action type.  This action will typically block until the incoming connection available.</p></div>
<div class="listingblock">
<div class="content"><!-- Generator: GNU source-highlight 3.1.7
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
<pre><tt><span style="font-weight: bold"><span style="color: #0000FF">&lt;Action</span></span> <span style="color: #009900">type</span><span style="color: #990000">=</span><span style="color: #FF0000">"accept"</span> <span style="font-weight: bold"><span style="color: #0000FF">/&gt;</span></span></tt></pre></div></div>
</div>
<div class="sect2">
<h3 id="_input">input</h3>
<div class="paragraph"><p>Receive or read input from the publisher.  Requires a data model be specified to hold the incoming data.</p></div>
<div class="listingblock">
<div class="content"><!-- Generator: GNU source-highlight 3.1.7
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
<pre><tt><span style="font-weight: bold"><span style="color: #0000FF">&lt;Action</span></span> <span style="color: #009900">type</span><span style="color: #990000">=</span><span style="color: #FF0000">"input"</span><span style="font-weight: bold"><span style="color: #0000FF">&gt;</span></span>
   <span style="font-weight: bold"><span style="color: #0000FF">&lt;DataModel</span></span> <span style="color: #009900">ref</span><span style="color: #990000">=</span><span style="color: #FF0000">"InputModel"</span> <span style="font-weight: bold"><span style="color: #0000FF">/&gt;</span></span>
<span style="font-weight: bold"><span style="color: #0000FF">&lt;/Action&gt;</span></span></tt></pre></div></div>
</div>
<div class="sect2">
<h3 id="_output">output</h3>
<div class="paragraph"><p>Send or write output via publisher.  Requires a data model and an optional data set.</p></div>
<div class="listingblock">
<div class="content"><!-- Generator: GNU source-highlight 3.1.7
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
<pre><tt><span style="font-weight: bold"><span style="color: #0000FF">&lt;Action</span></span> <span style="color: #009900">type</span><span style="color: #990000">=</span><span style="color: #FF0000">"output"</span><span style="font-weight: bold"><span style="color: #0000FF">&gt;</span></span>
   <span style="font-weight: bold"><span style="color: #0000FF">&lt;DataModel</span></span> <span style="color: #009900">ref</span><span style="color: #990000">=</span><span style="color: #FF0000">"SomeDataModel"</span> <span style="font-weight: bold"><span style="color: #0000FF">/&gt;</span></span>
<span style="font-weight: bold"><span style="color: #0000FF">&lt;/Action&gt;</span></span>

<span style="font-weight: bold"><span style="color: #0000FF">&lt;Action</span></span> <span style="color: #009900">type</span><span style="color: #990000">=</span><span style="color: #FF0000">"output"</span><span style="font-weight: bold"><span style="color: #0000FF">&gt;</span></span>
   <span style="font-weight: bold"><span style="color: #0000FF">&lt;DataModel</span></span> <span style="color: #009900">ref</span><span style="color: #990000">=</span><span style="color: #FF0000">"SomeDataModel"</span> <span style="font-weight: bold"><span style="color: #0000FF">/&gt;</span></span>
   <span style="font-weight: bold"><span style="color: #0000FF">&lt;Data</span></span> <span style="color: #009900">name</span><span style="color: #990000">=</span><span style="color: #FF0000">"somesampledata"</span> <span style="color: #009900">fileName</span><span style="color: #990000">=</span><span style="color: #FF0000">"sample.bin"</span> <span style="font-weight: bold"><span style="color: #0000FF">/&gt;</span></span>
<span style="font-weight: bold"><span style="color: #0000FF">&lt;/Action&gt;</span></span></tt></pre></div></div>
</div>
<div class="sect2">
<h3 id="_call">call</h3>
<div class="paragraph"><p>Call a method with optional parameters.  Not supported by all publishers.</p></div>
<div class="listingblock">
<div class="content"><!-- Generator: GNU source-highlight 3.1.7
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
<pre><tt><span style="font-weight: bold"><span style="color: #0000FF">&lt;Action</span></span> <span style="color: #009900">type</span><span style="color: #990000">=</span><span style="color: #FF0000">"call"</span> <span style="color: #009900">method</span><span style="color: #990000">=</span><span style="color: #FF0000">"openUrl"</span><span style="font-weight: bold"><span style="color: #0000FF">&gt;</span></span>
  <span style="font-weight: bold"><span style="color: #0000FF">&lt;Param</span></span> <span style="color: #009900">name</span><span style="color: #990000">=</span><span style="color: #FF0000">"p1"</span> <span style="color: #009900">type</span><span style="color: #990000">=</span><span style="color: #FF0000">"in"</span><span style="font-weight: bold"><span style="color: #0000FF">&gt;</span></span>
     <span style="font-weight: bold"><span style="color: #0000FF">&lt;DataModel</span></span> <span style="color: #009900">ref</span><span style="color: #990000">=</span><span style="color: #FF0000">"Param1DataModel"</span> <span style="font-weight: bold"><span style="color: #0000FF">/&gt;</span></span>
  <span style="font-weight: bold"><span style="color: #0000FF">&lt;/Param&gt;</span></span>
  <span style="font-weight: bold"><span style="color: #0000FF">&lt;Param</span></span> <span style="color: #009900">name</span><span style="color: #990000">=</span><span style="color: #FF0000">"p2"</span> <span style="color: #009900">type</span><span style="color: #990000">=</span><span style="color: #FF0000">"in"</span><span style="font-weight: bold"><span style="color: #0000FF">&gt;</span></span>
     <span style="font-weight: bold"><span style="color: #0000FF">&lt;DataModel</span></span> <span style="color: #009900">ref</span><span style="color: #990000">=</span><span style="color: #FF0000">"Param2DataModel"</span> <span style="font-weight: bold"><span style="color: #0000FF">/&gt;</span></span>
     <span style="font-weight: bold"><span style="color: #0000FF">&lt;Data</span></span> <span style="color: #009900">name</span><span style="color: #990000">=</span><span style="color: #FF0000">"p2data"</span><span style="font-weight: bold"><span style="color: #0000FF">&gt;</span></span>
        <span style="font-weight: bold"><span style="color: #0000FF">&lt;Field</span></span> <span style="color: #009900">name</span><span style="color: #990000">=</span><span style="color: #FF0000">"value"</span> <span style="color: #009900">value</span><span style="color: #990000">=</span><span style="color: #FF0000">"http://foo.com"</span> <span style="font-weight: bold"><span style="color: #0000FF">/&gt;</span></span>
     <span style="font-weight: bold"><span style="color: #0000FF">&lt;/Data&gt;</span></span>
  <span style="font-weight: bold"><span style="color: #0000FF">&lt;/Param&gt;</span></span>
<span style="font-weight: bold"><span style="color: #0000FF">&lt;/Action&gt;</span></span></tt></pre></div></div>
</div>
<div class="sect2">
<h3 id="_setprop">setprop</h3>
<div class="paragraph"><p>Set a property.</p></div>
<div class="listingblock">
<div class="content"><!-- Generator: GNU source-highlight 3.1.7
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
<pre><tt><span style="font-weight: bold"><span style="color: #0000FF">&lt;Action</span></span> <span style="color: #009900">type</span><span style="color: #990000">=</span><span style="color: #FF0000">"setprop"</span> <span style="color: #009900">property</span><span style="color: #990000">=</span><span style="color: #FF0000">"Name"</span><span style="font-weight: bold"><span style="color: #0000FF">&gt;</span></span>
   <span style="font-weight: bold"><span style="color: #0000FF">&lt;DataModel</span></span> <span style="color: #009900">ref</span><span style="color: #990000">=</span><span style="color: #FF0000">"NameModel"</span><span style="font-weight: bold"><span style="color: #0000FF">/&gt;</span></span>
<span style="font-weight: bold"><span style="color: #0000FF">&lt;/Action&gt;</span></span></tt></pre></div></div>
</div>
<div class="sect2">
<h3 id="_getprop">getprop</h3>
<div class="paragraph"><p>Get a property.</p></div>
<div class="listingblock">
<div class="content"><!-- Generator: GNU source-highlight 3.1.7
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
<pre><tt><span style="font-weight: bold"><span style="color: #0000FF">&lt;Action</span></span> <span style="color: #009900">type</span><span style="color: #990000">=</span><span style="color: #FF0000">"setprop"</span> <span style="color: #009900">property</span><span style="color: #990000">=</span><span style="color: #FF0000">"Name"</span><span style="font-weight: bold"><span style="color: #0000FF">&gt;</span></span>
   <span style="font-weight: bold"><span style="color: #0000FF">&lt;DataModel</span></span> <span style="color: #009900">ref</span><span style="color: #990000">=</span><span style="color: #FF0000">"NameModel"</span><span style="font-weight: bold"><span style="color: #0000FF">/&gt;</span></span>
<span style="font-weight: bold"><span style="color: #0000FF">&lt;/Action&gt;</span></span></tt></pre></div></div>
</div>
<div class="sect2">
<h3 id="_slurp">slurp</h3>
<div class="paragraph"><p>Slurp allows moving data between two data models.  Typically these data models are assigned to different Actions in a StateModel.  A standard use case is during a protocol sequence you are given a sequence id, or a challenge id you must send back to the server.  You can use slurp to move that data to be sent back.</p></div>
<div class="listingblock">
<div class="content"><!-- Generator: GNU source-highlight 3.1.7
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
<pre><tt><span style="font-weight: bold"><span style="color: #0000FF">&lt;DataModel</span></span> <span style="color: #009900">name</span><span style="color: #990000">=</span><span style="color: #FF0000">"ReceiveChallenge"</span><span style="font-weight: bold"><span style="color: #0000FF">&gt;</span></span>
  <span style="font-weight: bold"><span style="color: #0000FF">&lt;String</span></span> <span style="color: #009900">name</span><span style="color: #990000">=</span><span style="color: #FF0000">"Challenge"</span> <span style="font-weight: bold"><span style="color: #0000FF">/&gt;</span></span>
<span style="font-weight: bold"><span style="color: #0000FF">&lt;/DataModel&gt;</span></span>
<span style="font-weight: bold"><span style="color: #0000FF">&lt;DataModel</span></span> <span style="color: #009900">name</span><span style="color: #990000">=</span><span style="color: #FF0000">"SendChallenge"</span><span style="font-weight: bold"><span style="color: #0000FF">&gt;</span></span>
  <span style="font-weight: bold"><span style="color: #0000FF">&lt;String</span></span> <span style="color: #009900">name</span><span style="color: #990000">=</span><span style="color: #FF0000">"Challenge"</span> <span style="font-weight: bold"><span style="color: #0000FF">/&gt;</span></span>
<span style="font-weight: bold"><span style="color: #0000FF">&lt;/DataModel&gt;</span></span>

<span style="font-style: italic"><span style="color: #9A1900">&lt;!-- Other stuff --&gt;</span></span>

<span style="font-weight: bold"><span style="color: #0000FF">&lt;State&gt;</span></span>
  <span style="font-weight: bold"><span style="color: #0000FF">&lt;Action</span></span> <span style="color: #009900">name</span><span style="color: #990000">=</span><span style="color: #FF0000">"ReceiveChallenge"</span> <span style="color: #009900">type</span><span style="color: #990000">=</span><span style="color: #FF0000">"input"</span><span style="font-weight: bold"><span style="color: #0000FF">&gt;</span></span>
    <span style="font-weight: bold"><span style="color: #0000FF">&lt;DataModel</span></span> <span style="color: #009900">ref</span><span style="color: #990000">=</span><span style="color: #FF0000">"ReceiveChallenge"</span><span style="font-weight: bold"><span style="color: #0000FF">/&gt;</span></span>
  <span style="font-weight: bold"><span style="color: #0000FF">&lt;/Action&gt;</span></span>

  <span style="font-weight: bold"><span style="color: #0000FF">&lt;Action</span></span> <span style="color: #009900">type</span><span style="color: #990000">=</span><span style="color: #FF0000">"slurp"</span> <span style="color: #009900">valueXpath</span><span style="color: #990000">=</span><span style="color: #FF0000">"//ReceiveChallenge//Challenge"</span> <span style="color: #009900">setXpath</span><span style="color: #990000">=</span><span style="color: #FF0000">"//SendChallenge//Challenge"</span> <span style="font-weight: bold"><span style="color: #0000FF">/&gt;</span></span>

  <span style="font-weight: bold"><span style="color: #0000FF">&lt;Action</span></span> <span style="color: #009900">name</span><span style="color: #990000">=</span><span style="color: #FF0000">"SendChallenge"</span> <span style="color: #009900">type</span><span style="color: #990000">=</span><span style="color: #FF0000">"output"</span><span style="font-weight: bold"><span style="color: #0000FF">&gt;</span></span>
    <span style="font-weight: bold"><span style="color: #0000FF">&lt;DataModel</span></span> <span style="color: #009900">ref</span><span style="color: #990000">=</span><span style="color: #FF0000">"SendChallenge"</span><span style="font-weight: bold"><span style="color: #0000FF">/&gt;</span></span>
  <span style="font-weight: bold"><span style="color: #0000FF">&lt;/Action&gt;</span></span>
<span style="font-weight: bold"><span style="color: #0000FF">&lt;/State&gt;</span></span></tt></pre></div></div>
</div>
<div class="sect2">
<h3 id="_changestate">changeState</h3>
<div class="paragraph"><p>Change to a different state.</p></div>
<div class="listingblock">
<div class="content"><!-- Generator: GNU source-highlight 3.1.7
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
<pre><tt>
<span style="font-weight: bold"><span style="color: #0000FF">&lt;StateModel</span></span> <span style="color: #009900">name</span><span style="color: #990000">=</span><span style="color: #FF0000">"StateModel"</span> <span style="color: #009900">initialState</span><span style="color: #990000">=</span><span style="color: #FF0000">"State1"</span><span style="font-weight: bold"><span style="color: #0000FF">&gt;</span></span>

    <span style="font-weight: bold"><span style="color: #0000FF">&lt;State</span></span> <span style="color: #009900">name</span><span style="color: #990000">=</span><span style="color: #FF0000">"State1"</span><span style="font-weight: bold"><span style="color: #0000FF">&gt;</span></span>

       <span style="font-weight: bold"><span style="color: #0000FF">&lt;Action</span></span> <span style="color: #009900">type</span><span style="color: #990000">=</span><span style="color: #FF0000">"changeState"</span> <span style="color: #009900">ref</span><span style="color: #990000">=</span><span style="color: #FF0000">"State2"</span><span style="font-weight: bold"><span style="color: #0000FF">&gt;</span></span>

       ...

       <span style="font-weight: bold"><span style="color: #0000FF">&lt;/Action&gt;</span></span>

    <span style="font-weight: bold"><span style="color: #0000FF">&lt;/State&gt;</span></span>

    <span style="font-weight: bold"><span style="color: #0000FF">&lt;State</span></span> <span style="color: #009900">name</span><span style="color: #990000">=</span><span style="color: #FF0000">"State2"</span><span style="font-weight: bold"><span style="color: #0000FF">&gt;</span></span>

       <span style="font-weight: bold"><span style="color: #0000FF">&lt;Action&gt;</span></span>

       ...

       <span style="font-weight: bold"><span style="color: #0000FF">&lt;/Action&gt;</span></span>

    <span style="font-weight: bold"><span style="color: #0000FF">&lt;/State&gt;</span></span>

<span style="font-weight: bold"><span style="color: #0000FF">&lt;/StateModel&gt;</span></span>
</tt></pre></div></div>
</div>
</div>
</div>
</div>
<div id="footnotes"></div>
<div id="footer">
<div id="footer-text">

<table width="100%">
<td><td>
<a href="javascript:if(confirm(%27http://dejavusecurity.com/  \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?%27))window.location=%27http://dejavusecurity.com/%27" tppabs="http://dejavusecurity.com/"><img src="dejavusecurity.png" tppabs="http://old.peachfuzzer.com/images/dejavusecurity.png" height="50"/></a>
</td><td>&nbsp;&nbsp;&nbsp;</td><td>

Copyright (c) <a href="javascript:if(confirm(%27http://dejavusecurity.com/  \n\nThis file was not retrieved by Teleport Ultra, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?%27))window.location=%27http://dejavusecurity.com/%27" tppabs="http://dejavusecurity.com/">Deja vu Security</a> <br/>
Last updated 2014-02-23 21:20:39 PST
</td>
</table>

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-1094513-10']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www/') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</div>
</div>
</div>
</div>
</body>
</html>
